﻿@model PresentacionBiblioWeb.Models.ReservaVM
@{
    ViewBag.Title = "Create";
}

<h2>Create</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

     <fieldset>
        <legend>Material</legend>
        <div class="editor-label">
            @Html.LabelFor(model => model.CantDias)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CantDias)
            @Html.ValidationMessageFor(model => model.CantDias)
        </div>
            @Html.HiddenFor(model => model.MaterialId)
            @Html.HiddenFor(model => model.SocioId)
        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

<h2>Reservar</h2>
